home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000113_icon-group-sender _Mon Jun 29 08:41:14 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA06667
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 29 Jun 1998 08:41:14 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA31475; Mon, 29 Jun 1998 08:41:02 -0700
X-Sender: nevin@pop.interaccess.com (Unverified)
Message-Id: <v04003a04b1ba60b6229a@[204.148.87.119]>
In-Reply-To: <01bda15c$16b0f180$c37546cf@NEVIN>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 27 Jun 1998 03:51:31 -0500
To: icon-group@optima.CS.Arizona.EDU
From: "Nevin :-] Liber" <nevin@pendragon-software.com>
Subject:
Re:
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 943
Robbie Gilbert <mailto:rwg@fns.com> wrote:
>I would like to know if there is a function or procedure
>that will repeatedly evaluate an expression which is a
>generator and return ALL the results in a list. I could
>write such a procedure very easily (maybe only 2
>lines?) using the every-do control structure but if there is
>one already in the program library, I would prefer to use
>the standard.
I don't know if there is a standard one in the IPL, but as you pointed out,
it is fairly trivial to write:
procedure genlist(pGenerator, LArguments[])
local L
L := list()
every put(L, pGenerator ! LArguments)
return L
end
--
Nevin ":-)" Liber <mailto:nevin@pendragon-software.com> (847) 816-9926
Senior Software Engineer, Pendragon Software <http://www.webfayre.com/>
Pendragon Software Corporation
1580 South Milwaukee Avenue, Suite 515
Libertyville, IL 60048-3776
voice: (847) 816-9660
fax: (847) 816-9710